package org.ahuanlien.crm.mapper;

import java.util.List;
import org.ahuanlien.crm.domain.Task;
import org.ahuanlien.crm.query.StaffManagementQueryObject;

public interface TaskMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Task record);

    Task selectByPrimaryKey(Long id);

    List<Task> selectAll();

    int updateByPrimaryKey(Task record);

    int query4Count(StaffManagementQueryObject qo);

    List<Task> query4List(StaffManagementQueryObject qo);

    void changeState(Long id);
}